Skip to content

Handle empty policy validation, domains without nameservers, and empty audit log values - #1499

Merged
frenck merged 1 commit into
mainfrom
frenck/correctness
Oct 10, 2026
Merged

frenck merged 1 commit into
mainfrom
frenck/correctness

Conversation

@frenck

@frenck frenck commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Proposed Changes

(Describe the changes and rationale behind them)

Found in a review.

  • An empty response body from validating or testing the policy file means it passed; it no longer fails to parse.
  • The split DNS methods allow a domain without nameservers (None), and the CLI shows one; with update_split_dns(), None removes the domain.
  • Keep empty old and new values of audit logs, instead of turning them into None.

Related Issues

(GitHub link to related issues or pull requests)

@frenck frenck added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Oct 10, 2026
@frenck
frenck merged commit 4ff72dc into main Oct 10, 2026
33 checks passed
@frenck
frenck deleted the frenck/correctness branch October 10, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant